{{- if partial "functions/toc" . -}}
{{- if ne .Type "docs" }}
  <a class="action action-toc d-none d-xxl-block" href="#postTOC" role="button" title="{{ i18n `table_of_contents` }}">
    <i class="fas fa-fw fa-list-alt"></i>
  </a>
{{- end }}
<a class="action action-toc d-block d-xxl-none" href="#post-toc-container" role="button" title="{{ i18n `table_of_contents` }}">
  <i class="fas fa-fw fa-list-alt"></i>
</a>
{{- end -}}
